package com.hyf.translucentstatusbar.activity;

import com.hyf.translucentstatusbar.base.BaseActivity;
import com.hyf.translucentstatusbar.util.StatusBarUtils;

import static com.hyf.translucentstatusbar.app.MyApplication.STATUS_BAR_ALPHA;

/**
 * Created by Administrator on 2018/1/8.
 */

public abstract class Base extends BaseActivity {

    public void setHeaderStatusBarAlpha(int alpha) {
        StatusBarUtils.setTranslucentImageHeader(this, alpha, null);
    }

    @Override
    protected int onHeaderBarStatusViewAlpha() {
        return STATUS_BAR_ALPHA;
    }
}
